<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::MultiChannel2DData&lt; DATA_TYPE, NUM_OF_CHANNELS &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1_multi_channel2_d_data.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classpcl_1_1_multi_channel2_d_data-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::MultiChannel2DData&lt; DATA_TYPE, NUM_OF_CHANNELS &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>Holds two-dimensional multi-channel data.  
 <a href="classpcl_1_1_multi_channel2_d_data.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="multi__channel__2d__data__set_8h_source.html">multi_channel_2d_data_set.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aa7035b504875b5d521c44be8e4e1c75a"><td class="memItemLeft" align="right" valign="top"><a id="aa7035b504875b5d521c44be8e4e1c75a"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html#aa7035b504875b5d521c44be8e4e1c75a">MultiChannel2DData</a> ()</td></tr>
<tr class="memdesc:aa7035b504875b5d521c44be8e4e1c75a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:aa7035b504875b5d521c44be8e4e1c75a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4842ae6896d5f8b0d1e494fc1f9b50e6"><td class="memItemLeft" align="right" valign="top"><a id="a4842ae6896d5f8b0d1e494fc1f9b50e6"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html#a4842ae6896d5f8b0d1e494fc1f9b50e6">~MultiChannel2DData</a> ()</td></tr>
<tr class="memdesc:a4842ae6896d5f8b0d1e494fc1f9b50e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a4842ae6896d5f8b0d1e494fc1f9b50e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52ed627a31a51d1b08160bf6f1d6c401"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html#a52ed627a31a51d1b08160bf6f1d6c401">resize</a> (size_t width, size_t height)</td></tr>
<tr class="memdesc:a52ed627a31a51d1b08160bf6f1d6c401"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resizes the internal data storage.  <a href="classpcl_1_1_multi_channel2_d_data.html#a52ed627a31a51d1b08160bf6f1d6c401">更多...</a><br /></td></tr>
<tr class="separator:a52ed627a31a51d1b08160bf6f1d6c401"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85db22dc54e9f02de4f9c90e14996233"><td class="memItemLeft" align="right" valign="top"><a id="a85db22dc54e9f02de4f9c90e14996233"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html#a85db22dc54e9f02de4f9c90e14996233">clear</a> ()</td></tr>
<tr class="memdesc:a85db22dc54e9f02de4f9c90e14996233"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the internal data storage and sets width and height to 0. <br /></td></tr>
<tr class="separator:a85db22dc54e9f02de4f9c90e14996233"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a721cb8c6b2b4f13b9b0c260cd1fe2891"><td class="memItemLeft" align="right" valign="top">DATA_TYPE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html#a721cb8c6b2b4f13b9b0c260cd1fe2891">operator()</a> (const size_t col_index, const size_t row_index)</td></tr>
<tr class="memdesc:a721cb8c6b2b4f13b9b0c260cd1fe2891"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the internal data at the specified location.  <a href="classpcl_1_1_multi_channel2_d_data.html#a721cb8c6b2b4f13b9b0c260cd1fe2891">更多...</a><br /></td></tr>
<tr class="separator:a721cb8c6b2b4f13b9b0c260cd1fe2891"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9642bfd6f20849935b7c525c70036596"><td class="memItemLeft" align="right" valign="top">const DATA_TYPE *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html#a9642bfd6f20849935b7c525c70036596">operator()</a> (const size_t col_index, const size_t row_index) const</td></tr>
<tr class="memdesc:a9642bfd6f20849935b7c525c70036596"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to the internal data at the specified location.  <a href="classpcl_1_1_multi_channel2_d_data.html#a9642bfd6f20849935b7c525c70036596">更多...</a><br /></td></tr>
<tr class="separator:a9642bfd6f20849935b7c525c70036596"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a04aa2df5184ce5b236caed5edae5a4"><td class="memItemLeft" align="right" valign="top">DATA_TYPE &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html#a2a04aa2df5184ce5b236caed5edae5a4">operator()</a> (const size_t col_index, const size_t row_index, const size_t channel)</td></tr>
<tr class="memdesc:a2a04aa2df5184ce5b236caed5edae5a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the internal data at the specified location.  <a href="classpcl_1_1_multi_channel2_d_data.html#a2a04aa2df5184ce5b236caed5edae5a4">更多...</a><br /></td></tr>
<tr class="separator:a2a04aa2df5184ce5b236caed5edae5a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63d95cdfe31eeee886e219891b2ddc79"><td class="memItemLeft" align="right" valign="top">const DATA_TYPE &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html#a63d95cdfe31eeee886e219891b2ddc79">operator()</a> (const size_t col_index, const size_t row_index, const size_t channel) const</td></tr>
<tr class="memdesc:a63d95cdfe31eeee886e219891b2ddc79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the internal data at the specified location.  <a href="classpcl_1_1_multi_channel2_d_data.html#a63d95cdfe31eeee886e219891b2ddc79">更多...</a><br /></td></tr>
<tr class="separator:a63d95cdfe31eeee886e219891b2ddc79"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:af90e31dbc8625d64b9bea6debe514f83"><td class="memItemLeft" align="right" valign="top"><a id="af90e31dbc8625d64b9bea6debe514f83"></a>
std::vector&lt; DATA_TYPE &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html#af90e31dbc8625d64b9bea6debe514f83">data_</a></td></tr>
<tr class="memdesc:af90e31dbc8625d64b9bea6debe514f83"><td class="mdescLeft">&#160;</td><td class="mdescRight">The internal data storage. <br /></td></tr>
<tr class="separator:af90e31dbc8625d64b9bea6debe514f83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4042ad9a984f1f8bc24885e9c3373ce1"><td class="memItemLeft" align="right" valign="top"><a id="a4042ad9a984f1f8bc24885e9c3373ce1"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html#a4042ad9a984f1f8bc24885e9c3373ce1">width_</a></td></tr>
<tr class="memdesc:a4042ad9a984f1f8bc24885e9c3373ce1"><td class="mdescLeft">&#160;</td><td class="mdescRight">The width of the data storage. <br /></td></tr>
<tr class="separator:a4042ad9a984f1f8bc24885e9c3373ce1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4eabfd54b219094f7b6fdf6cc92c752"><td class="memItemLeft" align="right" valign="top"><a id="ac4eabfd54b219094f7b6fdf6cc92c752"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html#ac4eabfd54b219094f7b6fdf6cc92c752">height_</a></td></tr>
<tr class="memdesc:ac4eabfd54b219094f7b6fdf6cc92c752"><td class="mdescLeft">&#160;</td><td class="mdescRight">The height of the data storage. <br /></td></tr>
<tr class="separator:ac4eabfd54b219094f7b6fdf6cc92c752"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;class DATA_TYPE, size_t NUM_OF_CHANNELS&gt;<br />
class pcl::MultiChannel2DData&lt; DATA_TYPE, NUM_OF_CHANNELS &gt;</h3>

<p>Holds two-dimensional multi-channel data. </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a721cb8c6b2b4f13b9b0c260cd1fe2891"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a721cb8c6b2b4f13b9b0c260cd1fe2891">&#9670;&nbsp;</a></span>operator()() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DATA_TYPE , size_t NUM_OF_CHANNELS&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DATA_TYPE* <a class="el" href="classpcl_1_1_multi_channel2_d_data.html">pcl::MultiChannel2DData</a>&lt; DATA_TYPE, NUM_OF_CHANNELS &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>col_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>row_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a pointer to the internal data at the specified location. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">col_index</td><td>The column index. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">row_index</td><td>The row index. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;      {</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <span class="keywordflow">return</span> &amp;(<a class="code" href="classpcl_1_1_multi_channel2_d_data.html#af90e31dbc8625d64b9bea6debe514f83">data_</a>[NUM_OF_CHANNELS*(row_index*<a class="code" href="classpcl_1_1_multi_channel2_d_data.html#a4042ad9a984f1f8bc24885e9c3373ce1">width_</a> + col_index)]);</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;      };</div>
<div class="ttc" id="aclasspcl_1_1_multi_channel2_d_data_html_a4042ad9a984f1f8bc24885e9c3373ce1"><div class="ttname"><a href="classpcl_1_1_multi_channel2_d_data.html#a4042ad9a984f1f8bc24885e9c3373ce1">pcl::MultiChannel2DData::width_</a></div><div class="ttdeci">size_t width_</div><div class="ttdoc">The width of the data storage.</div><div class="ttdef"><b>Definition:</b> multi_channel_2d_data_set.h:130</div></div>
<div class="ttc" id="aclasspcl_1_1_multi_channel2_d_data_html_af90e31dbc8625d64b9bea6debe514f83"><div class="ttname"><a href="classpcl_1_1_multi_channel2_d_data.html#af90e31dbc8625d64b9bea6debe514f83">pcl::MultiChannel2DData::data_</a></div><div class="ttdeci">std::vector&lt; DATA_TYPE &gt; data_</div><div class="ttdoc">The internal data storage.</div><div class="ttdef"><b>Definition:</b> multi_channel_2d_data_set.h:122</div></div>
</div><!-- fragment -->
</div>
</div>
<a id="a9642bfd6f20849935b7c525c70036596"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9642bfd6f20849935b7c525c70036596">&#9670;&nbsp;</a></span>operator()() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DATA_TYPE , size_t NUM_OF_CHANNELS&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const DATA_TYPE* <a class="el" href="classpcl_1_1_multi_channel2_d_data.html">pcl::MultiChannel2DData</a>&lt; DATA_TYPE, NUM_OF_CHANNELS &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>col_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>row_index</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a pointer to the internal data at the specified location. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">col_index</td><td>The column index. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">row_index</td><td>The row index. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;      {</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <span class="keywordflow">return</span> &amp;(<a class="code" href="classpcl_1_1_multi_channel2_d_data.html#af90e31dbc8625d64b9bea6debe514f83">data_</a>[NUM_OF_CHANNELS*(row_index*<a class="code" href="classpcl_1_1_multi_channel2_d_data.html#a4042ad9a984f1f8bc24885e9c3373ce1">width_</a> + col_index)]);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;      };</div>
</div><!-- fragment -->
</div>
</div>
<a id="a2a04aa2df5184ce5b236caed5edae5a4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a04aa2df5184ce5b236caed5edae5a4">&#9670;&nbsp;</a></span>operator()() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DATA_TYPE , size_t NUM_OF_CHANNELS&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">DATA_TYPE&amp; <a class="el" href="classpcl_1_1_multi_channel2_d_data.html">pcl::MultiChannel2DData</a>&lt; DATA_TYPE, NUM_OF_CHANNELS &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>col_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>row_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>channel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a reference to the internal data at the specified location. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">col_index</td><td>The column index. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">row_index</td><td>The row index. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">channel</td><td>The channel index. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;      {</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classpcl_1_1_multi_channel2_d_data.html#af90e31dbc8625d64b9bea6debe514f83">data_</a>[NUM_OF_CHANNELS*(row_index*<a class="code" href="classpcl_1_1_multi_channel2_d_data.html#a4042ad9a984f1f8bc24885e9c3373ce1">width_</a> + col_index) + channel];</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;      };</div>
</div><!-- fragment -->
</div>
</div>
<a id="a63d95cdfe31eeee886e219891b2ddc79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a63d95cdfe31eeee886e219891b2ddc79">&#9670;&nbsp;</a></span>operator()() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DATA_TYPE , size_t NUM_OF_CHANNELS&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const DATA_TYPE&amp; <a class="el" href="classpcl_1_1_multi_channel2_d_data.html">pcl::MultiChannel2DData</a>&lt; DATA_TYPE, NUM_OF_CHANNELS &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>col_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>row_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const size_t&#160;</td>
          <td class="paramname"><em>channel</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a reference to the internal data at the specified location. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">col_index</td><td>The column index. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">row_index</td><td>The row index. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">channel</td><td>The channel index. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;      {</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="classpcl_1_1_multi_channel2_d_data.html#af90e31dbc8625d64b9bea6debe514f83">data_</a>[NUM_OF_CHANNELS*(row_index*<a class="code" href="classpcl_1_1_multi_channel2_d_data.html#a4042ad9a984f1f8bc24885e9c3373ce1">width_</a> + col_index) + channel];</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;      };</div>
</div><!-- fragment -->
</div>
</div>
<a id="a52ed627a31a51d1b08160bf6f1d6c401"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52ed627a31a51d1b08160bf6f1d6c401">&#9670;&nbsp;</a></span>resize()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class DATA_TYPE , size_t NUM_OF_CHANNELS&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_multi_channel2_d_data.html">pcl::MultiChannel2DData</a>&lt; DATA_TYPE, NUM_OF_CHANNELS &gt;::resize </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Resizes the internal data storage. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">width</td><td>The width of the resized 2D data array. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">height</td><td>The height of the resized 2D data array. </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;      {</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <a class="code" href="classpcl_1_1_multi_channel2_d_data.html#af90e31dbc8625d64b9bea6debe514f83">data_</a>.resize (NUM_OF_CHANNELS*width*height);</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <a class="code" href="classpcl_1_1_multi_channel2_d_data.html#a4042ad9a984f1f8bc24885e9c3373ce1">width_</a> = width;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        <a class="code" href="classpcl_1_1_multi_channel2_d_data.html#ac4eabfd54b219094f7b6fdf6cc92c752">height_</a> = height;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;      }</div>
<div class="ttc" id="aclasspcl_1_1_multi_channel2_d_data_html_ac4eabfd54b219094f7b6fdf6cc92c752"><div class="ttname"><a href="classpcl_1_1_multi_channel2_d_data.html#ac4eabfd54b219094f7b6fdf6cc92c752">pcl::MultiChannel2DData::height_</a></div><div class="ttdeci">size_t height_</div><div class="ttdoc">The height of the data storage.</div><div class="ttdef"><b>Definition:</b> multi_channel_2d_data_set.h:132</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>ml/include/pcl/ml/<a class="el" href="multi__channel__2d__data__set_8h_source.html">multi_channel_2d_data_set.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="classpcl_1_1_multi_channel2_d_data.html">MultiChannel2DData</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
